package com.ruoyi.Course.mapper;

import java.util.List;
import java.util.Map;

import com.ruoyi.Course.domain.StudyCourse;

/**
 * CourseMapper接口
 * 
 * @author luobom
 * @date 2021-12-03
 */
public interface StudyCourseMapper 
{
    public int setupdatedefaultcourse(Map m);
    public int updatedefaultcourse(String createBy);
    public StudyCourse GetDefaultCourse(String createBy);
    /**
     * 查询Course
     * 
     * @param uid Course主键
     * @return Course
     */
    public StudyCourse selectStudyCourseByUid(String uid);

    /**
     * 查询Course列表
     * 
     * @param studyCourse Course
     * @return Course集合
     */
    public List<StudyCourse> selectStudyCourseList(StudyCourse studyCourse);

    /**
     * 新增Course
     * 
     * @param studyCourse Course
     * @return 结果
     */
    public int insertStudyCourse(StudyCourse studyCourse);

    /**
     * 修改Course
     * 
     * @param studyCourse Course
     * @return 结果
     */
    public int updateStudyCourse(StudyCourse studyCourse);

    /**
     * 删除Course
     * 
     * @param uid Course主键
     * @return 结果
     */
    public int deleteStudyCourseByUid(String uid);

    /**
     * 批量删除Course
     * 
     * @param uids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteStudyCourseByUids(String[] uids);
}
